//
//  BHHTTPEnvironment.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/7/12.
//

import UIKit

class BHHTTPEnvironment: NSObject {
    
    enum BH_API_ENVIRONMENT {
        case Realese,Developer,Preview,Mock
    }
    
    static let shared = BHHTTPEnvironment.init()
    
    var currentEnv: BH_API_ENVIRONMENT = .Realese

    
    func configApiEnvironment(environment: BH_API_ENVIRONMENT)  {
        self.currentEnv = environment
    }
    
    var apiEnvironment: BH_API_ENVIRONMENT {
        get {
            return self.currentEnv
        }
    }
}
